import getpass
import os

api_key=os.getenv("DASHSCOPE_API_KEY")
base_url="https://dashscope.aliyuncs.com/compatible-mode/v1" # 填写DashScope base_url


from langchain_openai import ChatOpenAI

model = ChatOpenAI(api_key=api_key,
                   base_url=base_url,
                   model="qwen-turbo")